<?

class CuentaCorriente extends BaseModel {

    static $table_name = 'cuentascorrientes';
    static $primary_key = 'idcuentacorriente';
    static $belongs_to = array(
        array(
            'afiliado',
            'class_name' => 'Afiliado',
            'foreign_key' => 'idpersona'
            )
     );

}

?>
